libp2p-wasm-ext 0.22.0

Allows passing in an external transport in a WASM environment
Documentation
Implementation of the libp2p `Transport` trait for external transports. This `Transport` is used in the context of WASM to allow delegating the transport mechanism to the code that uses rust-libp2p, as opposed to inside of rust-libp2p itself. > **Note**: This only allows transports that produce a raw stream with the remote. You > couldn't, for example, pass an implementation QUIC. # Usage Call `new()` with a JavaScript object that implements the interface described in the `ffi` module.